package com.Logging 
{
	/**
	 * ...
	 * @author Dmitri/Yun-En
	 * 
	 * Contains action IDs for all user actions in the game. Think of this class as a global enum.
	 * Replace with your own IDs.
	 * 
	 * IMPORTANT NOTES:
	 * 1.) Don't reuse ids.  This will make for really weird server logs, as
	 * old data will get reinterpretated as new data.
	 * Just make new ids and use those instead.
	 * 2.) When you add a new id, make sure to add it to the server as well.
	 * That way when it generates reports it can know which id maps to which actions.
	 */
	public final class ClientActionType 
	{													// ----DETAILS----
		public static const GAME_LOADED:uint =		24;	// -
		public static const TRAVEL_TO:uint =		0;	// -city
		public static const FAIL_TRAVEL_TUTORIAL:uint =	16;	// -city
		public static const FAIL_TRAVEL_STATS:uint =	22;	// -city, deficit of (statName)
		public static const FAIL_TRAVEL_SUPPLIES:uint =	23;	// -city, deficit of supplies
		public static const BUY:uint =				1;	// -itemId, qty, price
		public static const POST_SALE:uint =		2;	// -itemid, qty, price
		public static const ASSIGN_NPC_ORDER:uint =	3;	// -questId, timeLeft, reqItem, reqQty, rewItem, rewQty
		public static const VIEW_NPC_ORDER:uint =	4;	// -questId, timeLeft
		public static const CONTR_NPC_ORDER:uint =	5;	// -questId, timeLeft, amt
		public static const ASSIGN_GOAL:uint =		21;	// -templateId
		public static const VIEW_GOAL:uint =		6;	// -templateId
		public static const END_GOAL_OR_ORDER:uint =7;	// -templateId
		public static const CHANGE_WORKERS:uint =	8;	// -diff, job
		public static const VIEW_SHIP:uint =		9;	// -
		public static const ATTACH_UPGRADE:uint =	10;	// -itemId, slotId, shipType
		public static const DETACH_UPGRADE:uint =	11;	// -itemId, soltId, shipType
		public static const CHANGE_ACTIVE:uint =	12;	// -fromType, toType
		public static const VIEW_INV_ITEM:uint =	13;	// -itemId
		public static const VIEW_RECIPE:uint =		14;	// -itemId (of recipe)
		public static const USE_RECIPE:uint =		15; // -itemId (of recipe)
		public static const VIEW_NOTIF:uint =		17;	// -
		public static const LOAD_SHIP:uint =		18;	// -itemId, qty
		public static const UNLOAD_SHIP:uint =		19;	// -itemId, qty
		public static const BUILD:uint =			20;	// -bldgId
	}
}